package com.bsoft.gol.hbs.healthinfo.state;


import com.bsoft.gol.hbs.healthinfo.AbstractState;
import com.bsoft.gol.hbs.healthinfo.State;

public class NotSupportState extends AbstractState {
    @Override
    public boolean forwardNext() {
        return false;
    }

    @Override
    public boolean forwardPrev() {
        return false;
    }

    @Override
    public State getNext() {
        setErrorMessage("该状态无效");
        return null;
    }

    @Override
    public State getPrev() {
        setErrorMessage("该状态无效");
        return null;
    }
}
